projects
/
llvm-toolchain-18.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26f53c0
)
set correct float abi settings for armel and armhf
author
Peter Michael Green
<plugwash@debian.org>
Sat, 8 Nov 2025 13:36:04 +0000
(14:36 +0100)
committer
Matthias Klose
<doko@debian.org>
Sat, 8 Nov 2025 13:36:04 +0000
(14:36 +0100)
debian armel supports systems that don't have a fpu so should use a "float abi"
setting of soft by default.
Debian armhf needs a float abi setting of "hard"
Gbp-Pq: Name 26-set-correct-float-abi.diff
clang/lib/Driver/ToolChains/Arch/ARM.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Driver/ToolChains/Arch/ARM.cpp
b/clang/lib/Driver/ToolChains/Arch/ARM.cpp
index e6ee2f88a84edf2e9ca2b49164a3ba756d2cad23..f03f3a7fd30431d8eb4d2544403583a0fbb217b2 100644
(file)
--- a/
clang/lib/Driver/ToolChains/Arch/ARM.cpp
+++ b/
clang/lib/Driver/ToolChains/Arch/ARM.cpp
@@
-421,7
+421,7
@@
arm::FloatABI arm::getDefaultFloatABI(const llvm::Triple &Triple) {
case llvm::Triple::MuslEABI:
case llvm::Triple::EABI:
// EABI is always AAPCS, and if it was not marked 'hard', it's softfp
- return FloatABI::Soft
FP
;
+ return FloatABI::Soft;
case llvm::Triple::Android:
return (SubArch >= 7) ? FloatABI::SoftFP : FloatABI::Soft;
default: